<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="display"    uri="http://displaytag.sf.net"  %>
<%@ taglib prefix="c" 		   uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt"        uri="http://java.sun.com/jsp/jstl/fmt" %>




<form:form commandName="declaracionForm" action="declaracionEdit.html" method="POST">
<form:hidden path="method"/>
<form:hidden path="declaracion.recibioMercancia"/>
<form:hidden path="declaracion.id"/>


<form:input id="searchString" path="activeTab"/>
<form:input id="transactionDate" path="entidadCambiaUbigeo" />

---------------------------------------------------------------------------

<div id="contenedor" style="height: 100%; width: 100%" >
<div id="panel1" ></div>
<div id="panel2" ></div>
</div>

<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration({
elementId: "searchString",
widgetType: "dijit.form.ValidationTextBox",
widgetAttrs: { promptMessage : "Search hotels by name, address, city, or zip." }}));

 Spring.addDecoration(
 new Spring.ElementDecoration({
 elementId : "transactionDate",
 widgetType : "dijit.form.DateTextBox",
 widgetAttrs : {
 datePattern : "MM/dd/yyyy",
 required : true}}));

 Spring.addDecoration(
 new Spring.ElementDecoration({
 elementId : "contenedor",
 widgetType : "dijit.layout.TabContainer",
 widgetAttrs : {title: "Details", executeScripts:true, href:""
	 }}));

 Spring.addDecoration(
 new Spring.ElementDecoration({
 elementId : "panel1",
 widgetType : "dijit.layout.ContentPane",
 widgetAttrs : {
	 }}));

 Spring.addDecoration(
		 new Spring.ElementDecoration({
		 elementId : "panel2",
		 widgetType : "dijit.layout.ContentPane",
		 widgetAttrs : {
			 }}));



</script>

---------------------------------------------------------------------------
<div id="mainTabContainer" style="width:770px;height:600px">
<div id="tab1"></div>
<script type="text/javascript">

Spring.addDecoration(new Spring.ElementDecoration({
elementId : "tab1",
widgetType : "dojox.layout.ContentPane",
widgetAttrs : { title: "Details", executeScripts:true, href:"content-flow?execution=${flowExecutionKey}&_eventId=showDetails"}
}));
</script>
<div id="tab2"></div>
<script type="text/javascript">

Spring.addDecoration(new Spring.ElementDecoration({
elementId : "tab2",
widgetType : "dojox.layout.ContentPane",
widgetAttrs : { title: "Kategorien", executeScripts:true, href:"content-flow?execution=${flowExecutionKey}&_eventId=showKategorien"}
}));
</script>
</div>
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration({
elementId : "mainTabContainer",
widgetType : "dijit.layout.TabContainer"}));
</script>

---------------------------------------------------------------------------




</form:form>
